#include "MinStack.h"

int main() {
	MinStack minStack;
	minStack.push(7);
	minStack.push(4);
	minStack.push(3);
	cout << "minStack.top(): " << minStack.top() << "\n";
	cout << "minStack.getMin():" << minStack.getMin() << "\n";
	minStack.push(6);
	minStack.push(2);
	minStack.push(9);
	minStack.push(5);
	minStack.push(1);
	minStack.push(8);
	cout << "minStack.top(): " << minStack.top() << "\n";
	cout << "minStack.getMin():" << minStack.getMin() << "\n";
	minStack.pop();
	minStack.pop();
	cout << "minStack.top(): " << minStack.top() << "\n";
	cout << "minStack.getMin():" << minStack.getMin() << "\n";
	minStack.pop();
	minStack.pop();
	minStack.pop();
	minStack.pop();
	minStack.pop();
	minStack.pop();
	minStack.pop();
	minStack.pop();
	minStack.pop();
	cout << "minStack.top(): " << minStack.top() << "\n";
	cout << "minStack.getMin():" << minStack.getMin() << "\n";

}